<?php

function GetArrayDover(){ // Возврат - массив активных пользователей  
global $smarty,$cfg;

if (file_exists('dover.xml')) {
    $xml = simplexml_load_file('dover.xml');
                $cnt=0;
		$mDov = array();
               foreach($xml->dover as $dover){              
                  $mDov[$cnt][nome]=$dover->nome;
                  $mDov[$cnt][fiz]=$dover->fiz;
                  $mDov[$cnt][knt]=$dover->knt;
                  $mDov[$cnt][dog]=$dover->dog;
                  $mDov[$cnt][dt]=$dover->dt;
                  $mDov[$cnt][dtend]=$dover->dtend;                  
                  $mDov[$cnt][onfrom]=$dover->onfrom;                                    
                  $mDov[$cnt][bydoc]=$dover->bydoc;                                    
                  $mDov[$cnt][otv]=$dover->otv; 
                  $cnt++;
               };
 return $mDov;
} 

                
};

$smarty->assign("GetArrayDover",GetArrayDover());

?>
